﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Account_Default" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>福建师范大学名师讲堂</title>
    <link rel="stylesheet" type="text/css" href="../css/admin/style.css" />
</head>
<body>
    <div id="loginpanelwrap">
        <div class="loginheader">
            <div class="logintitle">
                <a href="../" target="_blank">
                    <img src="../images/logo.png" alt="" width="240" /></a>
            </div>
        </div>
        <div class="loginform">
            <form runat="server">
                <asp:Login ID="Login1" runat="server" OnLoggingIn="Login1_LoggingIn">
                    <LayoutTemplate>
                        <div class="loginform_row">
                            <label>
                                用户名：</label>
                            <asp:TextBox ID="UserName" runat="server" CssClass="loginform_input"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                ErrorMessage="必须填写“用户名”。" ToolTip="必须填写“用户名”。" ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                        </div>
                        <div class="loginform_row">
                            <label>
                                密码:</label>
                            <asp:TextBox ID="Password" runat="server" TextMode="Password" CssClass="loginform_input"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                ErrorMessage="必须填写“密码”。" ToolTip="必须填写“密码”。" ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                        </div>
                        <div class="loginform_row">
                            <label>
                                验证码:</label>
                            <asp:TextBox ID="txt验证码" runat="server" CssClass="loginform_input"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Password"
                                ErrorMessage="必须填写“验证码”。" ToolTip="必须填写“验证码”。" ValidationGroup="Login1">*</asp:RequiredFieldValidator><asp:RegularExpressionValidator ErrorMessage="验证码错误" ControlToValidate="txt验证码" runat="server" ValidationExpression="\d{4}" />
                        </div>
                         <div class="loginform_row">
                            <label>
                                &nbsp;</label>
                             <asp:Image ImageUrl="~/aspx/createImg.aspx" runat="server" />
                             <asp:Label Text="" ID="lbl提示信息" runat="server" />
                        </div>
                        <div class="loginform_row">
                            <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="登录" ValidationGroup="Login1"
                                class="loginform_submit" />
                        </div>
                    </LayoutTemplate>
                </asp:Login>
            </form>
            <div class="clear">
            </div>
        </div>
    </div>
</body>
</html>